//
//  TopicAndIntegralView.m
//  安好
//
//  Created by 马晓良 on 14-11-5.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//

#import "TopicAndIntegralView.h"

@implementation TopicAndIntegralView


- (UILabel *)typeName{
    if (_typeName == nil) {
        _typeName = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 25, 12)];
        _typeName.textColor = [UIColor whiteColor];
        _typeName.font = [UIFont systemFontOfSize:12];
        [self addSubview:_typeName];
    }
    return _typeName;
}


- (UILabel *)dataMessage{
    if (_dataMessage == nil) {
        _dataMessage = [[UILabel alloc] initWithFrame:CGRectMake(30, 0, 65, 12)];
        _dataMessage.textColor = [UIColor whiteColor]
        ;
        _dataMessage.font = [UIFont systemFontOfSize:12];
        [self addSubview:_dataMessage];
    }
    return _dataMessage;
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
